
.chatfont {
    font-family:'chatfont';
}
.left {
    width:300px;
    height:100%;
    display:flex;
    box-shadow:1px 0 1px #cccccc;
    .left-list, .left-inform {
        padding:10px;
        box-sizing:border-box;
        flex:none;
        height:100%;
        position:relative;
    }
    .left-list {
        padding:0 2px;
        width:220px;
        background-color:rgba(242, 242, 242, .95);
        .chat-list {
            flex-direction: column;
            box-sizing:border-box;
            height:100%;
            display: flex;
            .search {
                width:100%;
                padding:10px;
                box-sizing: border-box;
            }
            .user-list {
                box-sizing:border-box;
                width:100%;
                height:100%;
                padding:0;
                margin:0;
                overflow-y:scroll;
                ul {
                    width:100%;
                    height:100%;
                    overflow:hidden;
                    overflow-y:auto;
                }
            }
        }
    }
}

.chatImg {
    text-align:center;
    width:100%;
}
.left-list .group {
    height:100%;
    padding-top:50px;
}
.left-list .group .group-tab {
    width:100%;
    height:40px;
    color:#666;
    font-size:16px;
    line-height:40px;
    margin-bottom:10px;
    text-align:center;
    display:flex;
    flex-direction:row;
    position:absolute;
    left:0;
    top:0;
}
.left-list .group .group-tab > div {
    flex:1;
    cursor:pointer;
    background-color:transparent;
    border-bottom:2px solid rgba(255, 255, 255, 0);
}
.left-list .group .group-tab > div.active {
    background-color:rgba(255, 255, 255, 0.5);
    border-bottom:2px solid rgba(220, 62, 62, .95);
}
.group-box {
    color:#666;
    font-size:14px;
    padding:10px 2px;
}
.group-box .group-list {

}
.group-box .muc-list {

}

.left-inform {
    width:80px;
    background-color:rgba(48, 35, 27, .8);
}
.left .title {
    width:100%;
    margin-bottom:20px;
    margin-top:-4px;
}
.left .title .radius {
    width:10px;
    height:10px;
    cursor:pointer;
    display:inline-block;
    margin-left:4px;
    border-radius:10px;
    background-color:#d45850;
}
.left .title .yellow {
    background-color:#d9ba49;
}
.left .title .green {
    background-color:#82c44d;
}
.left .user {
    width:56px;
    height:56px;
    border-radius:56px;
    border:2px solid #FFF;
    overflow:hidden;
    margin-bottom:40px;
}
.left .user > img {
    max-width:100%;
}
.left .menu-item {
    width:100%;
    color:#F0F0F0;
    cursor:pointer;
    position:relative;
    padding:10px 0;
    text-align:center;
}
.left .menu-item.active {
    font-weight:600;
    color:#FFF;
    background-color:transparent;
}
.left .menu-item {
    .menu-radius {
        font-size:40px;
        color:#F0F0F0;
        width:40px;
        height:40px;
        display:inline-block;
        border-radius:40px;
        line-height:40px;
    }
    &.active .menu-radius {
        color:#FFF;
    }
    > p {
        font-size:14px;
    }
    .menu-radius.icon-chat {
        font-size:32px;
    }
    > img {
        max-width:100%;
    }
}


.left .item {
    cursor:pointer;
    width:100%;
    height:56px;
    margin:3px 0;
    box-sizing:border-box;
    position:relative;
    border-radius:50px;
    padding:8px;
    overflow:hidden;
    display:flex;
    .userPhoto {
        img,div {
            width:40px;
            height:40px;
            line-height:40px;
            border-radius:40px;
        }
        &.active {
            &:before, &:after {
                width:8px;
                height:8px;
                border-radius:8px;
                bottom:2px;
                right:2px;
            }
        }
    }
    &:hover {
        background-color:rgba(0, 0, 0, .04);
        .close {
            display:block;
        }
    }
    &.active {
        background-color:rgba(0, 0, 0, .1);
        &:hover {
            background-color:rgba(0, 0, 0, .1);
        }
    }
    .drag {
        width:auto;
        min-width:20px;
        height:20px;
        line-height:16px;
        text-align:center;
        font-size:12px;
        border:2px solid #FFF;
        color:#FFF;
        background-color:#d45850;
        padding:0 4px;
        display:block;
        border-radius:18px;
        position:absolute;
        left:30px;
        top:2px;
    }
    .close {
        width:17px;
        height:17px;
        cursor:pointer;
        border-radius:16px;
        background-color:#d45850;
        display:none;
        position:absolute;
        right:10px;
        top:50%;
        margin-top:-8px;
        &:before, &:after {
            content:'';
            width:1px;
            height:9px;
            display:block;
            position:absolute;
            left:8px;
            top:4px;
            background-color:#FFF;
        }
        &:before {
            transform:rotate(-45deg);
            -webkit-transform:rotate(-45deg);
        }
        &:after {
            transform:rotate(45deg);
            -webkit-transform:rotate(45deg);
        }
    }
}

.left li {
    .userInfo {
        height:40px;
        line-height:12px;
        margin-left:20px;
        strong {
            font-weight:inherit;
            font-size:16px;
            line-height:16px;
            margin-top:2px;
            margin-bottom:6px;
            color:#333;
            display:block;
        }
        span {
            font-size:14px;
            color:#888;
            display:inline-block;
        }
    }
}
.content {
    width:100%;
    height:100%;
    padding:80px 4px 120px 20px;
    box-sizing:border-box;
    .message {
        width:100%;
        height:100%;
        overflow:hidden;
        overflow-y:auto;
    }
}


.right {
    height:100%;
    width:0;
    flex:1;
    background-color:#FFF;
    position:relative;
}
.right .title {
    width:100%;
    height:80px;
    position:absolute;
    left:0;
    top:0;
    z-index:1;
    background-color:rgba(255, 255, 255, 1);
    box-shadow:1px 1px 2px rgba(0, 0, 0, .18);
    -webkit-app-region:drag;
}
.right .title {
    display:flex;
    //align-items: center;
    .userPhoto {
        padding:10px;
        position:relative;
        &.active {
            &:before, &:after {
                bottom:12px;
                right:12px;
                width:12px;
                height:12px;
            }
        }
        img,div {
            width:60px;
            line-height:60px;
            height:60px;
            font-size:25px;
            border-radius:60px;
            overflow:hidden;
        }

    }
    .userInform {
        padding-top:20px;
        display:inline-block;
        -webkit-app-region:no-drag;
        -webkit-user-select:initial;
        strong {
            display:block;
            font-size:16px;
            color:#333;
            font-weight:inherit;
        }
        span {
            font-size:12px;
            color:#999;
        }
    }
    .operation {
        height:53px;
        position:absolute;
        right:10px;
        top:10px;
    }
}
.operation .sendfile, .operation .information {
    width:50px;
    height:53px;
    cursor:pointer;
    display:inline-block;
    position:relative;
    cursor:pointer;
    background-image:url(../../static/img/file.jpg);
    background-position:0 0;
}
.sendfile input {
    width:50px;
    height:53px;
    opacity:0;
    cursor:pointer;
}
/*.sendfile .file-type{
  width: 120px;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #FFF;
  border-radius: 5px;
  position: absolute;
  display: block;
  top: 64px;
  right: 0;
}
.sendfile .file-type:after, .sendfile .file-type:before{
  content: '';
  position: absolute;
  right: 10px;
  top: -21px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #CCC transparent;
}
.sendfile .file-type:after{
  top: -20px;
  border-color: transparent transparent #FFF transparent;
}*/
.sendfile .file-type > p, .sendfile .file-type input {
    width:100%;
    height:30px;
}
.sendfile .file-type input {
    opacity:0;
}
.operation .information {
    background-position:-84px 0;
    margin-left:20px;
}
.userPhoto {
    position:relative;
    display:block;
    &.active {
        &:before, &:after {
            position:absolute;
            content:'';
            display:block;
            border-radius:12px;
            background-color:#5DC452;
        }
    }
}
.edit {
    width:100%;
    height:120px;
    background-color:rgba(255, 255, 255, 1);
    border-top:1px solid rgba(0, 0, 0, 0.1);
    position:absolute;
    left:0;
    bottom:0;
    z-index:1;
}
.edit .bar {
    width:100%;
    height:30px;
    padding-left:10px;
}
.bar span {
    width:30px;
    height:30px;
    cursor:pointer;
    vertical-align:top;
    display:inline-block;
    position:relative;
    background-image:url(../../static/img/bar.png);
    background-repeat:no-repeat;
}
.edit .bar .font {
    background-position:1px -1px;
}
.edit .bar .font:hover {
    background-position:1px -30px;
}
.edit .bar .face {
    background-position:-31px -1px;
}
.edit .bar .face:hover {
    background-position:-31px -30px;
}
.edit .bar .shake {
    background-position:-59px -1px;
}
.edit .bar .shake:hover {
    background-position:-59px -30px;
}
.edit .bar .det {
    background-position:-86px  -1px;
}
.edit .bar .det:hover {
    background-position:-86px  -30px;
}
.edit .bar .img {
    background-position:-115px -1px;
}
.edit .bar .img .add-file {
    width:100%;
    height:100%;
    display:block;
    z-index:10;
    opacity:0;
}
.edit .bar .img:hover {
    background-position:-115px -30px;
}
.edit .bar .cut {
    background-position:-146px  -1px;
}
.edit .bar .muc {
    font-family:'chatfont';
    color:#666;
    font-size:20px;
    line-height:30px;
    text-align:center;
    background:transparent;
}
.edit .bar .muc:hover {
    color:#5c9dcb;
}
.edit .bar .cut:hover {
    background-position:-146px  -30px;
}
.bar .record {
    width:128px;
    height:30px;
    cursor:pointer;
    color:#999;
    padding-left:30px;
    line-height:30px;
    font-size:12px;
    font-weight:inherit;
    background-image:url(../../static/img/bar.png);
    background-repeat:no-repeat;
    background-position:-183px -1px;
}
.bar .record:hover {
    color:#888;
    background-position:-183px -30px;
}
.edit .textarea {
    color:#666;
    font-size:14px;
    width:100%;
    line-height:22px;
    height:90px;
    max-height:90px;
    box-shadow:none;
    border:none;
    border:0;
    outline:0;
    cursor:text;
    padding:0 10px;
    overflow:auto;
    display:block;
    word-wrap:break-word;
    font-family:sans-serif;
}
.edit .textarea img {
    max-height:50px;
}
// .edit textarea{
//   width: 600px;
//   padding: 2px 5px;
//   line-height: 22px;
//   height: 70px;
//   max-height: 70px;
//   box-shadow: none;
//   border: none;
// }
.file-cont {
    width:320px;
    height:120px;
    border:1px solid #E4E4E4;
    border-radius:6px;
    background-color:#FFF;
}
.file-cont .file-ico {
    width:70px;
    height:75px;
    display:inline-block;
    background-image:url(../../static/img/file.png);
}
.file-cont .file-bot {
    width:100%;
    height:30px;
    text-align:right;
    color:#666;
    border-top:1px solid #CCC;
}
.mask {
    width:100%;
    height:100%;
    position:absolute;
    border-radius:3px;
    top:0;
    left:0;
    z-index:2;
    background-color:rgba(0, 0, 0, 0.2);
}
.muc-box {
    color:#666;
    width:420px;
    height:320px;
    overflow:hidden;
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-160px;
    margin-left:-210px;
    z-index:3;
    border-radius:3px;
    background-color:#FFF;
}
.muc-box .title {
    height:40px;
    line-height:40px;
    border:1px solid #f0f0f0;
    .fl {
        text-indent:20px;
    }
    .fr {
        color:#999;
        cursor:pointer;
        width:50px;
        font-size:18px;
        text-align:center;
        line-height:40px;
        font-family:'chatfont';
    }
}
.muc-box .muc-cont {
    margin-top:10px;
    display:flex;
    flex-direction:row;
}
.muc-box .muc-cont > div {
    flex:1;
}
ol, li {
    list-style:none;
}
.fl {
    float:left;
}
.fr {
    float:right;
}
input, textarea, button {
    border:none;
    box-shadow:0 0 1px #818181;
    border-radius:2px;
    color:#444;
    outline:none;
    font-size:12px;
}
::-webkit-scrollbar {
    width:4px;
    height:10px;
}
::-webkit-scrollbar-track {
    /*-webkit-box-shadow: 2px 0 2px rgba(0,0,0,0);*/
    /*background-color: #b0b0b0;*/
}

::-webkit-scrollbar-thumb {
    border-radius:4px;
    -webkit-box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.2);
    background:rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb:hover {
    -webkit-box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.2);
    background:rgba(0, 0, 0, 0.4);
}
.relative {
    position:relative;
}


.al-radius {
    width:14px;
    height:14px;
    border-radius:14px;
    display:inline-block;
    background-color:#FFF;
    border:1px solid #ccc;
    position:relative;
    margin-right:5px;
    vertical-align:middle;

}
.al-radius:after {
    content:'';
    width:6px;
    height:6px;
    border-radius:8px;
    position:absolute;
    background-color:#ccc;
    left:3px;
    top:3px;
}
.al-blue {
    border:1px solid #4681c3;
}
.al-blue:after {
    background-color:#4681c3;
}

